<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/1/7
 * Time: 23:35
 */
namespace app\admin\controller;

use app\admin\logic\SignLogic;
use app\admin\logic\SuppliesLogic;
use app\admin\logic\WarehouseLogic;
use app\BaseController;

class Warehouse extends BaseController
{
    /*
     * 列表
     */
    public function index()
    {
        $logic = new WarehouseLogic();
        success($logic->getList());
    }

    public function update()
    {
        $logic = new WarehouseLogic();
        success($logic->update());
    }
}